#! /usr/bin/python
# coding: utf-8

from Tkinter import *

def callCheckbutton():
    v.set('check Tkinter')

root = Tk()

v = StringVar()
v.set('check python')

Checkbutton(root, text='python', textvariable=v, command=callCheckbutton).pack()
root.mainloop()
